package com.baofu.paycore.biz.engine.result;

import com.baofu.paycore.biz.engine.command.Command;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 命令执行结果
 *
 * User: LZQ Date: 2016/04/22  Version: 1.0
 */
@Getter
@Setter
@ToString
public class CommandResult implements Serializable {

    /** serialVersionUID  */
    private static final long serialVersionUID = 3086359539243058022L;

    /**
     * 是否为实际结果
     * ACCEPT REAL
     */
    private boolean realRtnFlag = false;

    /**
     * 状态
     * I "待支付"
     * S "支付成功"
     * F "支付失败"  */
    private String            status;

    /** 返回码 */
    private String            resultCode;

    /**  返回处理结果描述 */
    private String            resultMsg;

    /**
     * 响应流水
     */
    private String            responseNo;

    /**
     * 解冻凭证号
     */
    private String            unfreezeReceipt;

    /**
     * 响应日期
     */
    private Date              responseDate;

    /**
     * 账务返回冻结码
     */
    private String            freezeCode;

    /**
     * 会计事件
     */
    private String            eventNo;

    /** 返回处理结果对象  */
    private Object            resultVO;

    /** 执行的command */
    private Command           command;

}
